package com.flashmoment.video.dao;

import com.flashmoment.video.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 用户表
 * 
 * @author xulu
 * @email 1435533194@qq.com
 * @date 2023-10-24 16:35:33
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {
	UserEntity findUserByEmail(@Param("email") String email);

	Integer updatePasswordByEmail(@Param("email") String email, @Param("password")String password, @Param("updateTime")Date updateTime);

	Integer findUserCount(@Param("email")String email);
}
